package com.dxx.cloud.admin.module.response;


import com.dxx.cloud.admin.module.entity.GoodsEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

/**
 * @author 37048
 */
@EqualsAndHashCode(callSuper = true)
@Schema(description = "商品响应体")
@Data
public class GoodsResponse extends GoodsEntity {

    @Schema(description="商品类别名称",example="1")
    private String typeName;

    @Schema(description="子类",example="1")
    private List<GoodsResponse> children;

    @Schema(description="序号",example="1")
    private List<GoodsSizeResponse> sizeResponseList;


}
